package appapi.service;

import appapi.Request.Basic.OperItemReq;
import appapi.Vo.OperItemTreeVo;
import appapi.entity.basic.OperatingItemEntity;
import appapi.entity.basic.OperatingTypeEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 请求对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/05/26 10:10
 */
public interface OperatingItemService  extends IService<OperatingItemEntity> {

    /**
     * 获取列表
     *
     * @param req 条件
     * @return
     */
    List<OperatingItemEntity> getList(OperItemReq req);

    /**
     * 获取详情
     *
     * @param operItemId 条件
     * @return
     */
    OperatingItemEntity getDetail(Long operItemId);

    List<OperatingTypeEntity> getTree();
}
